package tgc.edu.demo.jkxt.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.demo.jkxt.custom.BaseService;
import tgc.edu.demo.jkxt.entity.Knowledge;
import tgc.edu.demo.jkxt.repository.KnowledgeRepository;

@Service
public class KnowledgeService  extends BaseService<Knowledge , Integer>{

	@Autowired
	private KnowledgeRepository knowledgeDAO;
		public List<Knowledge> findKonwledgeByCourseId(Integer kcid){
			return knowledgeDAO.findKnowledgeByCourseId(kcid);
		}
}
